//
//  ViewController.m
//  my work
//
//  Created by mac on 15-11-17.
//  Copyright (c) 2015年 cjz. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()
@property (retain, nonatomic) IBOutlet UIButton *but;

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
}
- (IBAction)onClick:(id)sender {
//    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"问卷调查\n亲爱的各位帅哥美女\n请问余炟帅吗?" message:nil delegate:nil cancelButtonTitle:nil otherButtonTitles:@"帅",nil];
    UIAlertView *alert =[[UIAlertView alloc] initWithTitle:@"问卷调查\n亲爱的各位帅哥美女\n请问要爆余炟菊花吗?" message:@"请选择" delegate:nil cancelButtonTitle:@"爆\n"otherButtonTitles:@"不爆", nil];
    [alert show];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)dealloc {
    
    [_but release];
    [super dealloc];
}
@end
